
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>DDMonitor · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="CommentsLogByMySQL.html" />
    
    
    <link rel="prev" href="./" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    综述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="./">
            
                <a href="./">
            
                    
                    软件目录
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.2.1" data-path="DDMonitor.html">
            
                <a href="DDMonitor.html">
            
                    
                    DDMonitor
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="CommentsLogByMySQL.html">
            
                <a href="CommentsLogByMySQL.html">
            
                    
                    CommentsLogByMySQL
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../END.html">
            
                <a href="../END.html">
            
                    
                    结语
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >DDMonitor</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="ddmonitor">DDMonitor</h1>
<h2 id="&#x76F4;&#x64AD;&#x5F55;&#x64AD;&#x811A;&#x672C;--">&#x76F4;&#x64AD;&#x5F55;&#x64AD;&#x811A;&#x672C;  </h2>
<h4 id="&#x9700;&#x8981;streamlinkffmpeg&#x652F;&#x6301;&#x3002;">&#x9700;&#x8981;streamlink+ffmpeg&#x652F;&#x6301;&#x3002;</h4>
<h4 id="&#x4EE5;&#x4E0B;&#x5B89;&#x88C5;&#x65B9;&#x6CD5;&#x4EC5;&#x9002;&#x7528;&#x4E8E;linux&#x7CFB;&#x7EDF;&#xFF0C;windows&#x7CFB;&#x7EDF;&#x8BF7;&#x81EA;&#x884C;&#x89E3;&#x51B3;">&#x4EE5;&#x4E0B;&#x5B89;&#x88C5;&#x65B9;&#x6CD5;&#x4EC5;&#x9002;&#x7528;&#x4E8E;Linux&#x7CFB;&#x7EDF;&#xFF0C;Windows&#x7CFB;&#x7EDF;&#x8BF7;&#x81EA;&#x884C;&#x89E3;&#x51B3;</h4>
<blockquote>
<p>ffmpeg<br><a href="http://www.ffmpeg.org/download.html" target="_blank">http://www.ffmpeg.org/download.html</a><br>streamlink<br><a href="https://streamlink.github.io/" target="_blank">https://streamlink.github.io/</a>  </p>
</blockquote>
<p>&#x5B89;&#x88C5;&#xFF1A;</p>
<pre><code>$ sudo wget https://Dreammer12138.github.io/Documents/DDMonitor/install
$ sudo ./install
</code></pre><p>&#x542F;&#x52A8;&#xFF1A;
<code>$ ./Monitor</code><br>&#x66F4;&#x65B0;&#xFF1A;
<code>$ ./Monitor --upgrade</code><br>&#x66F4;&#x6539;&#x76D1;&#x89C6;&#x76F4;&#x64AD;&#x95F4;&#xFF1A; </p>
<pre><code>&#x76F4;&#x64AD;&#x95F4;&#x4FE1;&#x606F;&#x5728;roomid.json&#x6587;&#x4EF6;&#x4E2D;&#x50A8;&#x5B58;&#xFF0C;&#x4FEE;&#x6539;&#x524D;&#x8BF7;&#x53CA;&#x65F6;&#x8FDB;&#x884C;&#x5907;&#x4EFD;  
$ sudo vim /usr/DDMonitor/roomid.json
&#x5C06;&#x6587;&#x4EF6;&#x4E2D;&#x7684;uid&#x6539;&#x6210;&#x76F4;&#x64AD;&#x95F4;&#x53F7;&#x7801;&#xFF0C;nickname&#x6539;&#x6210;&#x4E3B;&#x64AD;ID  
{
    &quot;user&quot;: [{
        &quot;uid&quot;: &quot;&quot;,        &lt;-&#x8FD9;&#x91CC;&#x5728;&#x53CC;&#x5F15;&#x53F7;&#x4E2D;&#x586B;&#x5199;&#x76F4;&#x64AD;&#x95F4;&#x53F7;&#x7801;
        &quot;nickname&quot;: &quot;&quot;        &lt;-&#x8FD9;&#x91CC;&#x5728;&#x53CC;&#x5F15;&#x53F7;&#x4E2D;&#x586B;&#x5199;&#x4E3B;&#x64AD;&#x7684;&#xFF29;&#xFF24;
    }]
}
&#x4FDD;&#x5B58;&#x9000;&#x51FA;&#xFF0C;&#x542F;&#x52A8;Monitor
</code></pre><h2 id="monitot-&#x53C2;&#x6570;">Monitot &#x53C2;&#x6570;</h2>
<p>&#x5728;Monitor&#x547D;&#x4EE4;&#x540E;&#x9762;&#x6DFB;&#x52A0;&#x53C2;&#x6570;&#x53EF;&#x4EE5;&#x4FEE;&#x6539;&#x4E00;&#x4E9B;&#x9ED8;&#x8BA4;&#x8BBE;&#x7F6E;</p>
<ul>
<li><code>-l / --log path</code> &#x8BBE;&#x7F6E;log&#x7684;&#x50A8;&#x5B58;&#x4F4D;&#x7F6E;  </li>
<li><code>--upgrade</code> &#x66F4;&#x65B0;  </li>
</ul>
<h4 id="&#x5EFA;&#x8BAE;&#x5C06;&#x8DEF;&#x5F84;&#x6DFB;&#x52A0;&#x5230;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#x4E2D;">&#x5EFA;&#x8BAE;&#x5C06;&#x8DEF;&#x5F84;&#x6DFB;&#x52A0;&#x5230;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#x4E2D;</h4>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="./" class="navigation navigation-prev " aria-label="Previous page: 软件目录">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="CommentsLogByMySQL.html" class="navigation navigation-next " aria-label="Next page: CommentsLogByMySQL">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"DDMonitor","level":"1.2.1","depth":2,"next":{"title":"CommentsLogByMySQL","level":"1.2.2","depth":2,"path":"software/CommentsLogByMySQL.md","ref":"software/CommentsLogByMySQL.md","articles":[]},"previous":{"title":"软件目录","level":"1.2","depth":1,"path":"software/README.md","ref":"software/README.md","articles":[{"title":"DDMonitor","level":"1.2.1","depth":2,"path":"software/DDMonitor.md","ref":"software/DDMonitor.md","articles":[]},{"title":"CommentsLogByMySQL","level":"1.2.2","depth":2,"path":"software/CommentsLogByMySQL.md","ref":"software/CommentsLogByMySQL.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"software/DDMonitor.md","mtime":"2019-12-16T13:20:34.639Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-12-16T13:27:49.278Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

